package exercise5;

import java.util.Arrays;

public class Test {
    public static void main(String[] args) {
        Sort sort = new Sort();
        int[] array = new int[]{8,5,2,7,4,1,9,6,3,0};
        System.out.println("Arrays.toString(array).notSort = " + Arrays.toString(array));
        sort.heapSort(array);
        System.out.println("Arrays.toString(array).Sort = " + Arrays.toString(array));
    }
}
